package org.dromara.business.modules.intro.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.business.modules.intro.domain.BuIntro;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;
import java.io.Serializable;



/**
 * 服务中心视图对象 bu_intro
 *
 * @author ckk
 * @date 2025-11-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BuIntro.class)
public class BuIntroVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 副标题
     */
    @ExcelProperty(value = "副标题")
    private String subTitle;

    /**
     * 宣传图片
     */
    @ExcelProperty(value = "宣传图片")
    private String pic;

    /**
     * 宣传图片Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "pic")
    private String picUrl;
    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String content;


}
